@{
    ViewData["Title"] = "[tblTitle]";
}
<!--begin::App Main-->
<main class="app-main" id="app">
    <!--begin::App Content-->
    <div class="app-content">
        <!--begin::Container-->
        <div class="container-fluid">
            <!--begin::Row-->
            <div class="row enable-flex flex1">
                <div class="col-xs-12 enable-flex">
                    <div class="card mb-4">
                        <div class="card-header">
                            <form class="form" id="formquery" method="post">
	[loop start]
                <label>[fldTitle]：</label>
                <label><input name="[fldName]" id="[fldName]" class="form-control autowidth" v-model="d.post_data.[fldName]" /></label>
	[loop end]^
                                <label>
                                    <input type="hidden" id="pageindex" name="pageindex" v-model="d.post_data.pageindex">
                                    <input type="hidden" id="pagesize" name="pagesize" v-model="d.post_data.pagesize">
                                    <a id="btnsubmit" class="btn btn-success btn-sm" v-on:click="getListData(1)">
                                        <i class="fa fa-search"></i> 查询
                                    </a>
                                    <a id="btnadd" class="btn btn-warning  btn-sm" v-on:click="popupAdd()">
                                        <i class="fa fa-plus-square"></i> 添加
                                    </a>
                                </label>

                            </form>
                        </div> <!-- /.card-header -->
                        <div class="card-body">
                            <table class="table table-bordered table-striped table-hover mb60">
                                <thead>
                                    <tr>
                                        <th>编号</th>
  [loop start]
                                    <th>[fldTitle]</th>
  [loop end]^
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr v-cloak :data-id="info.id" v-for="(info, index) in d.result.rows">
                                        <td>[[info.id]]</td>
  [loop start]
                                     <td>[[info.[fldName]]]</td>
  [loop end]^
                                        <td>
                                            @*<a class="btn btn-info btn-sm" href="javascript:;" v-on:click="popupView(info);">
                                             <i class="fa fa-pencil">
                                             </i>
                                             查看
                                         </a>*@
                                            <a class="btn btn-info btn-sm" href="javascript:;" v-on:click="popupEdit(info);">
                                                <i class="fa fa-pencil">
                                                </i>
                                                修改
                                            </a>
                                            <a class="btn btn-danger btn-sm" href="javascript:;" v-on:click="popupDelete(info);">
                                                <i class="fa fa-trash">
                                                </i>
                                                删除
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div> <!-- /.card-body -->
                        <div class="card-footer clearfix">
                            <div class="pagination ue-clear"></div>

                        </div>
                    </div> <!-- /.card -->

                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->



        </div> <!--end::Container-->
    </div> <!--end::App Content-->
</main> <!--end::App Main-->


<script type="module" src="./[tblName]list.cshtml.js"></script>





